.class Lcom/example/inshopbuy/InShopBuyShopsActivity$mOncliclister;
.super Ljava/lang/Object;
.source "InShopBuyShopsActivity.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/example/inshopbuy/InShopBuyShopsActivity;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x2
    name = "mOncliclister"
.end annotation


# instance fields
.field final synthetic this$0:Lcom/example/inshopbuy/InShopBuyShopsActivity;


# direct methods
.method private constructor <init>(Lcom/example/inshopbuy/InShopBuyShopsActivity;)V
    .locals 0

    .prologue
    .line 310
    iput-object p1, p0, Lcom/example/inshopbuy/InShopBuyShopsActivity$mOncliclister;->this$0:Lcom/example/inshopbuy/InShopBuyShopsActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method synthetic constructor <init>(Lcom/example/inshopbuy/InShopBuyShopsActivity;Lcom/example/inshopbuy/InShopBuyShopsActivity$mOncliclister;)V
    .locals 0

    .prologue
    .line 310
    invoke-direct {p0, p1}, Lcom/example/inshopbuy/InShopBuyShopsActivity$mOncliclister;-><init>(Lcom/example/inshopbuy/InShopBuyShopsActivity;)V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 7
    .param p1, "v"    # Landroid/view/View;

    .prologue
    .line 315
    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v4

    sparse-switch v4, :sswitch_data_0

    .line 346
    :goto_0
    return-void

    .line 317
    :sswitch_0
    iget-object v4, p0, Lcom/example/inshopbuy/InShopBuyShopsActivity$mOncliclister;->this$0:Lcom/example/inshopbuy/InShopBuyShopsActivity;

    invoke-virtual {v4}, Lcom/example/inshopbuy/InShopBuyShopsActivity;->finish()V

    goto :goto_0

    .line 321
    :sswitch_1
    iget-object v4, p0, Lcom/example/inshopbuy/InShopBuyShopsActivity$mOncliclister;->this$0:Lcom/example/inshopbuy/InShopBuyShopsActivity;

    # getter for: Lcom/example/inshopbuy/InShopBuyShopsActivity;->inshopname:Landroid/widget/EditText;
    invoke-static {v4}, Lcom/example/inshopbuy/InShopBuyShopsActivity;->access$0(Lcom/example/inshopbuy/InShopBuyShopsActivity;)Landroid/widget/EditText;

    move-result-object v4

    invoke-virtual {v4}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v4

    invoke-interface {v4}, Landroid/text/Editable;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v4

    const-string v5, "%"

    const-string v6, ""

    invoke-virtual {v4, v5, v6}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;

    move-result-object v4

    const-string v5, " "

    const-string v6, ""

    invoke-virtual {v4, v5, v6}, Ljava/lang/String;->replaceAll(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    .line 322
    .local v1, "key":Ljava/lang/String;
    const-string v4, ""

    invoke-virtual {v1, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_0

    .line 323
    iget-object v4, p0, Lcom/example/inshopbuy/InShopBuyShopsActivity$mOncliclister;->this$0:Lcom/example/inshopbuy/InShopBuyShopsActivity;

    # getter for: Lcom/example/inshopbuy/InShopBuyShopsActivity;->context:Landroid/content/Context;
    invoke-static {v4}, Lcom/example/inshopbuy/InShopBuyShopsActivity;->access$1(Lcom/example/inshopbuy/InShopBuyShopsActivity;)Landroid/content/Context;

    move-result-object v4

    const-string v5, "\u8bf7\u8f93\u5165\u8981\u67e5\u627e\u5e97\u94fa\u7684\u540d\u79f0"

    const/4 v6, 0x0

    invoke-static {v4, v5, v6}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v4

    invoke-virtual {v4}, Landroid/widget/Toast;->show()V

    goto :goto_0

    .line 325
    :cond_0
    iget-object v4, p0, Lcom/example/inshopbuy/InShopBuyShopsActivity$mOncliclister;->this$0:Lcom/example/inshopbuy/InShopBuyShopsActivity;

    # invokes: Lcom/example/inshopbuy/InShopBuyShopsActivity;->getHttpShopData(Ljava/lang/String;)V
    invoke-static {v4, v1}, Lcom/example/inshopbuy/InShopBuyShopsActivity;->access$2(Lcom/example/inshopbuy/InShopBuyShopsActivity;Ljava/lang/String;)V

    goto :goto_0

    .line 331
    .end local v1    # "key":Ljava/lang/String;
    :sswitch_2
    iget-object v4, p0, Lcom/example/inshopbuy/InShopBuyShopsActivity$mOncliclister;->this$0:Lcom/example/inshopbuy/InShopBuyShopsActivity;

    # getter for: Lcom/example/inshopbuy/InShopBuyShopsActivity;->context:Landroid/content/Context;
    invoke-static {v4}, Lcom/example/inshopbuy/InShopBuyShopsActivity;->access$1(Lcom/example/inshopbuy/InShopBuyShopsActivity;)Landroid/content/Context;

    move-result-object v4

    const-string v5, "userInfo"

    const v6, 0x8000

    invoke-virtual {v4, v5, v6}, Landroid/content/Context;->getSharedPreferences(Ljava/lang/String;I)Landroid/content/SharedPreferences;

    move-result-object v2

    .line 332
    .local v2, "sPreferences":Landroid/content/SharedPreferences;
    const-string v4, "uid"

    const-string v5, ""

    invoke-interface {v2, v4, v5}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    .line 333
    .local v3, "uid":Ljava/lang/String;
    const-string v4, ""

    invoke-virtual {v3, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_1

    .line 334
    new-instance v0, Landroid/content/Intent;

    iget-object v4, p0, Lcom/example/inshopbuy/InShopBuyShopsActivity$mOncliclister;->this$0:Lcom/example/inshopbuy/InShopBuyShopsActivity;

    # getter for: Lcom/example/inshopbuy/InShopBuyShopsActivity;->context:Landroid/content/Context;
    invoke-static {v4}, Lcom/example/inshopbuy/InShopBuyShopsActivity;->access$1(Lcom/example/inshopbuy/InShopBuyShopsActivity;)Landroid/content/Context;

    move-result-object v4

    const-class v5, Lcom/example/m6wmr/LoginActivity;

    invoke-direct {v0, v4, v5}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    .line 335
    .local v0, "intent":Landroid/content/Intent;
    iget-object v4, p0, Lcom/example/inshopbuy/InShopBuyShopsActivity$mOncliclister;->this$0:Lcom/example/inshopbuy/InShopBuyShopsActivity;

    const/16 v5, 0xde

    invoke-virtual {v4, v0, v5}, Lcom/example/inshopbuy/InShopBuyShopsActivity;->startActivityForResult(Landroid/content/Intent;I)V

    goto :goto_0

    .line 339
    .end local v0    # "intent":Landroid/content/Intent;
    :cond_1
    new-instance v0, Landroid/content/Intent;

    iget-object v4, p0, Lcom/example/inshopbuy/InShopBuyShopsActivity$mOncliclister;->this$0:Lcom/example/inshopbuy/InShopBuyShopsActivity;

    # getter for: Lcom/example/inshopbuy/InShopBuyShopsActivity;->context:Landroid/content/Context;
    invoke-static {v4}, Lcom/example/inshopbuy/InShopBuyShopsActivity;->access$1(Lcom/example/inshopbuy/InShopBuyShopsActivity;)Landroid/content/Context;

    move-result-object v4

    const-class v5, Lcom/example/inshopbuy/InShopBuyOrders;

    invoke-direct {v0, v4, v5}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    .line 340
    .restart local v0    # "intent":Landroid/content/Intent;
    iget-object v4, p0, Lcom/example/inshopbuy/InShopBuyShopsActivity$mOncliclister;->this$0:Lcom/example/inshopbuy/InShopBuyShopsActivity;

    invoke-virtual {v4, v0}, Lcom/example/inshopbuy/InShopBuyShopsActivity;->startActivity(Landroid/content/Intent;)V

    goto/16 :goto_0

    .line 315
    nop

    :sswitch_data_0
    .sparse-switch
        0x7f0c0001 -> :sswitch_0
        0x7f0c013d -> :sswitch_1
        0x7f0c014c -> :sswitch_2
    .end sparse-switch
.end method
